<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>{$head[title]}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="{$head[keywords]}" name="keywords" />
<meta content="{$head[description]}" name="description" />
<base href="{SITE_URL}" />
<link href="favicon.ico" rel="shortcut icon" />
<link href="skin/style.css" rel="stylesheet" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="{$head[title]}" href="/rss.php?rssid={$catid}" />
<script language="JavaScript" src="misc/config.js"></script>
<script language="JavaScript" src="misc/jquery.min.js"></script>
<script language="JavaScript" src="misc/common.js"></script>
<script language="JavaScript" src="misc/validator.js"></script>
<link href="{TPL_PATH}forum/forum.css" rel="stylesheet" />
</head>
<body>

{template 'header.html'}

<div class="container">

<div class="current">
	<a href="{SITE_URL}">首页</a> » <a href="{url("?module=forum")}">论坛</a> » <a href="?module=forum&amp;action=thread_list&amp;fid={$forumdata[fid]}">{$forumdata[name]}</a>
</div>

<table width="942" border="1">
<form action="?module={$module}&action=thread_new" method="post" target="_self">
<input name="fid" type="hidden" value="{$fid}" />
<input name="tid" type="hidden" value="{$tid}" />
<!--<input name="authorid" type="hidden" value="{$_userid}" />
<input name="author" type="hidden" value="{$_nickname}" />-->
  <tr>
    <td width="92">&nbsp;</td>
    <td width="742"><label>
      <input type="text" name="title" id="textfield" />
    </label></td>
    <td width="86">&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>
    <textarea name="message" id="message" cols="80" rows="10" require="true" datatype="require" msg="<font color='red'><br>内容不能为空</font>" msgid="contentmsg"></textarea>
			{form::editor('message', 'basic', 550, 400)}
    </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><label>
      <input type="submit" name="dosubmit" id="button" value="提交" />
    </label></td>
    <td>&nbsp;</td>
  </tr>
 </form>
</table>

</div>
{template 'footer.html'}